package com.ebc.eservice.vo.card.history;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: Joey
 * @Description: 接受参数  名片id 起始时间 结束时间
 * @date:2022/9/28 11:46
 */
@Data
public class CardHistoryReqVo {

    @ApiModelProperty(value = "名片id")
    private Integer cardId;

    @ApiModelProperty(value = "开始日期", example = "2022-09-15")//2022-09-15 13:30:41
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")//HH:mm:ss
    private Date beginDate;

    @ApiModelProperty(value = "结束日期",example = "2022-10-15")//2022-10-15 13:30:41
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")
    private Date endDate;

    private int flag;

}
